package com.xiaoqian.partyembassy.ui.activity;

import android.view.View;
import android.widget.ListView;
import android.widget.TextView;

import com.xiaoqian.partyembassy.R;
import com.xiaoqian.partyembassy.adapter.AllExhibitsAdpter;
import com.xiaoqian.partyembassy.base.BaseActivity;

import java.util.ArrayList;
import java.util.List;

/**
 * @项目名称:
 * 包: com.dnake.yunduijiang
 * 类名称:全部展品
 * @类描述:
 * @创建人: 黄飞
 * @创建时间:
 * @修改人:
 * @修改时间:
 * @修改备注:
 * @版本: v1.0
 */

public class AllExhibitsActivity extends BaseActivity {
    private  ListView all_exhibits_lv;
    private TextView action_title;
    private TextView action_title_tip;
    private List<String> mList = new ArrayList<>();
    @Override
    protected int getLayoutId() {
        return R.layout.activity_all_exhibits;
    }

    @Override
    protected void initParams() {

    }

    @Override
    protected void initView() {
       all_exhibits_lv = findViewById(R.id.all_exhibits_lv);
        action_title = findViewById(R.id.action_title);
        action_title_tip = findViewById(R.id.action_title_tip);
        findViewById(R.id.action_back).setOnClickListener(new View.OnClickListener() {
           @Override
           public void onClick(View v) {
               defaultFinish();
           }
       });
        mList.add("111");
        mList.add("111");
        mList.add("111");
        AllExhibitsAdpter adpter = new AllExhibitsAdpter(mContext,mList);
        all_exhibits_lv.setAdapter(adpter);
    }

}
